package com.example.day01;

public class DataType {

    public static void main(String[] args) {
        boolean b = true; // false

        byte bt = -128;
        char c = 123;
        short s = 12345;
        int i = -2147483648;
        long l = 123456789L;

        float f = 123.45f;
        double d = 12345.6789;

        String str = "this is a string..."; // 字符串


        char c1 = 'a'; // character
        char c2 = '\123'; // character
        char c3 = '\u4E00'; // 一
        char c4 = '\t';  // TAB



        System.out.println(b);
        System.out.println(str);

        System.out.println(c1 + c4 + c3);
        System.out.println(Character.toString(c1) + Character.toString(c4) + Character.toString(c3));
    }
}